<div class="todos">
    <!-- 年份 月份 -->
    <div class="year_month">
        <div class="btn" @click="pickPre()">❮</div>
        <div class="title">
            <span>{{ currentYear }}年{{ currentMonth }}月</span>
        </div>
        <div class="btn" @click="pickNext()">❯</div>
    </div>
    <!-- 星期 -->
    <div class="weeks">
        <div class="week" v-for="(item, index) in weeks" :key="index">{{item}}</div>
    </div>
    <!-- 日期 -->
    <div class="days">
        <div class="day" v-for="(item, index) in days" :key="index" :class="{'other-month': (item.day.getMonth()+1 != currentMonth), 'active': isCurrentDate(item.day) }">
            <div>{{ item.day.getDate() }}</div>
        </div>
    </div>
</div>
